class Graphic < ActiveRecord::Base
  belongs_to :graphicable, :polymorphic => true
  
  has_attachment  :content_type => :image,
                  :processor    => :Rmagick,
                  :storage      => :file_system, 
                  :max_size     => 5000.kilobytes,
                  :thumbnails   => { :large => '165>', :medium => '100>', :thumb => '60>' }

  validates_as_attachment
end
